package tw.com.diary.api.service;

import android.content.Context;
import tw.com.diary.ae.com.DirayBussinessException;
import tw.com.diary.api.domain.CalendarDTO;

/**
 * 
 * @author Andy
 * 
 */
public interface CalendarService {
	/**
	 * 寫日記
	 * @param dto
	 * @param context
	 * @throws DirayBussinessException
	 */
	public void writeBook(CalendarDTO dto, Context context)
			throws DirayBussinessException;
	
	public void inti(CalendarDTO dto, Context context)
			throws DirayBussinessException;
}
